package or;

import java.util.ArrayList;
import java.util.List;

public class T0705 {

    class MyHashSet {
        List<Integer> list;
        public MyHashSet() {
            list=new ArrayList<>();
        }

        public void add(int key) {
            if (!list.contains(key)){
                list.add(key);
            }
        }

        public void remove(int key) {
            if (list.contains(key)){
                list.remove((Integer) key);
            }
        }

        public boolean contains(int key) {
            return list.contains(key);
        }
    }


}
